package com.tyl.service.impl;

import com.tyl.aspect.LogAnnotation;
import com.tyl.entity.Brand;
import com.tyl.mapper.BrandMapper;
import com.tyl.service.IBrandService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 汤云龙
 * @since 2022-03-23
 */
@Service
public class BrandServiceImpl extends ServiceImpl<BrandMapper, Brand> implements IBrandService {

    @Override
    @LogAnnotation(type = "查询",content = "根据Id查询")
    public Brand selectById(Long id) {
        return baseMapper.selectById(id);
    }
}
